﻿// MappingGeneratorPro.LicenseActivationResult


internal class LicenseActivationResult
{
    public bool Activated { get; set; }

    public string Reason { get; set; }

    public static LicenseActivationResult Success()
    {
        return new LicenseActivationResult
        {
            Activated = true
        };
    }

    public static LicenseActivationResult Fail(string reason)
    {
        return new LicenseActivationResult
        {
            Activated = false,
            Reason = reason
        };
    }
}